package com.hopu.service;

import com.hopu.pojo.Emp;

import java.util.List;

public interface IEmpService {

    public List<Emp> findAll() throws Exception;

    public List<Emp> findById(Integer eid,Integer did) throws Exception;


    public int update_emp(Integer eid, String ename);

    public int save(String ename, Integer did) throws Exception;

    public  int delete_emp(Integer eid) throws Exception;
}
